#ifndef __SIMULATIONDATA_H__
#define __SIMULATIONDATA_H__

#include <fstream>
#include <iostream>
#include <string>

using namespace std;

class SimulationData
{
    private:
        // File to write to
        ofstream file; 
    public:
        // Constructor
        SimulationData(unsigned int rid);

        // Destructor
        ~SimulationData() {};

        // Log a message with time
        void LogWithTime(const string Record, const unsigned int Seconds);
        void LogWithTime(int robotId, int groupSize, int communication, unsigned int seconds);

        unsigned int lastLogTime;

    public:
        static const unsigned int SimPeriod = 1;
};

const string DataFolder("data");

#endif
